package io.adrainty.bolee.insurance.models.entity;

import io.adrainty.bolee.framework.commons.basic.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.io.Serial;
import java.util.List;

/**
 * <p>WarrantyInsuredEntity</p>
 *
 * @author AdRainty
 * @version V1.0.0
 * @description 被保人
 * @since 2025/8/26 10:49:54
 */

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "被保人")
@EqualsAndHashCode(callSuper = true)
public class WarrantyInsuredEntity extends BaseEntity {
    
    @Serial
    private static final long serialVersionUID = -7159672464087629843L;

    @Schema(description = "保单编号")
    private String warrantyNo;

    @Schema(description = "被投保人姓名")
    private String insuredName;

    @Schema(description = "被投保人身份证号码")
    private String insuredIdentityCard;

    @Schema(description = "企业编号")
    private String companyNo;

    @Schema(description = "批量操作：主键ID")
    private String[] checkedIds;

    @Schema(description = "批量操作：合同编号")
    private List<String> warrantyNos;
    
}
